<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>nrf/rf.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../vesc.jpg"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../modules.html"><span>Modules</span></a></li>
      <li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_34bea165460058977cae49dd7fa81d62.html">nrf</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">rf.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../df/db2/rf_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    Copyright 2015 Benjamin Vedder  benjamin@vedder.se</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">    Copyright 2015 Mikael Lovqvist  devilholker@gmail.com</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">    (at your option) any later version.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">    GNU General Public License for more details.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">    */</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifndef RF_H_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#define RF_H_</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// Data types</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2">   25</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2a99c5dde8222084fc3840daca490e908d">   26</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2a99c5dde8222084fc3840daca490e908d">NRF_SPEED_250K</a> = 0,</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2a428dcdcbd4fc1dfeff406ecf8b782d37">   27</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2a428dcdcbd4fc1dfeff406ecf8b782d37">NRF_SPEED_1M</a>,</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2a45770f2ff28996549f160a7c77508555">   28</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2a45770f2ff28996549f160a7c77508555">NRF_SPEED_2M</a></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;} <a class="code" href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2">NRF_SPEED</a>;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87">   31</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87a3c8f3a066cfbc686563e136b205445a4">   32</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87a3c8f3a066cfbc686563e136b205445a4">NRF_POWER_M18DBM</a> = 0,</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87ab2ab794d7f27ae74cb75c891751d58e4">   33</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87ab2ab794d7f27ae74cb75c891751d58e4">NRF_POWER_M12DBM</a>,</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87aae75e5416b89e8b3483468e87cd3a9dd">   34</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87aae75e5416b89e8b3483468e87cd3a9dd">NRF_POWER_M6DBM</a>,</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87a53021208b09a7ff8b0f3c81061f46879">   35</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87a53021208b09a7ff8b0f3c81061f46879">NRF_POWER_0DBM</a></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;} <a class="code" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87">NRF_POWER</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946ba">   38</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946baad3f3694810e7e5ca6919621c1546ea13">   39</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946baad3f3694810e7e5ca6919621c1546ea13">NRF_AW_3</a> = 0,</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946baad660b7e3e8363c9f7462fce52f538b97">   40</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946baad660b7e3e8363c9f7462fce52f538b97">NRF_AW_4</a>,</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946baacb2d89e080c2be5e1fba12a0735dffd7">   41</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946baacb2d89e080c2be5e1fba12a0735dffd7">NRF_AW_5</a></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;} <a class="code" href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946ba">NRF_AW</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30d">   44</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30dabb21547236a721cf34ba6f2de9bc67b7">   45</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30dabb21547236a721cf34ba6f2de9bc67b7">NRF_CRC_DISABLED</a> = 0,</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30dabe27fe855d5be37a6b44e78c57fc8bb0">   46</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30dabe27fe855d5be37a6b44e78c57fc8bb0">NRF_CRC_1B</a>,</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30da379a4b76ba47f41ebbe41dfb2ceb1927">   47</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30da379a4b76ba47f41ebbe41dfb2ceb1927">NRF_CRC_2B</a></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;} <a class="code" href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30d">NRF_CRC</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edac">   50</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca359b15922e6b85d0a4ad947ac2c627d0">   51</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca359b15922e6b85d0a4ad947ac2c627d0">NRF_RETR_DELAY_250US</a> = 0,</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca5257fc4c427e200586fc45e31b378b22">   52</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca5257fc4c427e200586fc45e31b378b22">NRF_RETR_DELAY_500US</a>,</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacad7927a54431e4ee2b8843ba20d28dfc7">   53</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacad7927a54431e4ee2b8843ba20d28dfc7">NRF_RETR_DELAY_750US</a>,</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaa6359278b04629cb8ba5528f0b35dbed">   54</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaa6359278b04629cb8ba5528f0b35dbed">NRF_RETR_DELAY_1000US</a>,</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca57c2206265db8500dc8ea29cd826a293">   55</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca57c2206265db8500dc8ea29cd826a293">NRF_RETR_DELAY_1250US</a>,</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaaf65bf60092d26e693dd263052c76d7c">   56</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaaf65bf60092d26e693dd263052c76d7c">NRF_RETR_DELAY_1500US</a>,</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca8586bd9f07045136f949d9aac9905504">   57</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca8586bd9f07045136f949d9aac9905504">NRF_RETR_DELAY_1750US</a>,</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca61775d2cdf89a1fb8f0789d01404700c">   58</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca61775d2cdf89a1fb8f0789d01404700c">NRF_RETR_DELAY_2000US</a>,</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacab2346e537a737a930520c9693477157d">   59</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacab2346e537a737a930520c9693477157d">NRF_RETR_DELAY_2250US</a>,</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaae2499cae7dc9718149b13630ad80467">   60</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaae2499cae7dc9718149b13630ad80467">NRF_RETR_DELAY_2500US</a>,</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacad6d559428d14529ccc4c48b980d15774">   61</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacad6d559428d14529ccc4c48b980d15774">NRF_RETR_DELAY_2750US</a>,</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca88cc568cb451381b0ce9fe23a3c70e89">   62</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca88cc568cb451381b0ce9fe23a3c70e89">NRF_RETR_DELAY_3000US</a>,</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca5816974e1962f9390908fb43e1ac01f1">   63</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca5816974e1962f9390908fb43e1ac01f1">NRF_RETR_DELAY_3250US</a>,</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacad95e5e1548b04fce109e5c3104424cba">   64</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacad95e5e1548b04fce109e5c3104424cba">NRF_RETR_DELAY_3500US</a>,</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca7cc986a169a2a262bddc55c3caa0d4e3">   65</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca7cc986a169a2a262bddc55c3caa0d4e3">NRF_RETR_DELAY_3750US</a>,</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaa3f4e472e5d0ddf6483ea98751ba1772">   66</a></span>&#160;    <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaa3f4e472e5d0ddf6483ea98751ba1772">NRF_RETR_DELAY_4000US</a></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;} <a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edac">NRF_RETR_DELAY</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">// Status register masks</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a8eb262e5a8cf238fdb3cfa887bfb5b01">   70</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_TX_FULL                  (1&lt;&lt;0)</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a7cb05f1e06cc12f84e900cf0c09e0b8a">   71</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_RX_P_NO                  (1&lt;&lt;1 | 1&lt;&lt;2 | 1&lt;&lt;3)</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ab896ae6bda22221333865319cccf82aa">   72</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_MAX_RT                   (1&lt;&lt;4)</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#aeebce616ea69ef6e79f95e1717895e5d">   73</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_TX_DS                    (1&lt;&lt;5)</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a119811125282c0158778b02d8a3a7f2d">   74</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_RX_DR                    (1&lt;&lt;6)</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ad48c1b6f5e64652525e4f524dc01fe68">   75</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_IRQ                      (NRF_STATUS_MAX_RT | NRF_STATUS_TX_DS | NRF_STATUS_RX_DR)</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment">// Status register read macros</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#afa1dc7f990d8e45a78e4d57b7ab0f304">   78</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_GET_TX_FULL(s)           (s &amp; NRF_STATUS_TX_FULL)</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a4814d291b2366c88b773ce2857d1c57a">   79</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_GET_RX_P_NO(s)           ((s &amp; NRF_STATUS_RX_P_NO) &gt;&gt; 1)</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a2e216f412fd8ef44ccb47b319e6df5e9">   80</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_GET_MAX_RT(s)            ((s &amp; NRF_STATUS_MAX_RT) &gt;&gt; 4)</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a8aac457a577f21a52257ff8a2d50544f">   81</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_GET_TX_DS(s)             ((s &amp; NRF_STATUS_TX_DS) &gt;&gt; 5)</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#aced175f88109888a56bdbe9617b1c103">   82</a></span>&#160;<span class="preprocessor">#define NRF_STATUS_GET_RX_DR(s)             ((s &amp; NRF_STATUS_RX_DR) &gt;&gt; 6)</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment">// FIFO register masks</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a1724050ed3bea9ab9b337abce4e30efd">   85</a></span>&#160;<span class="preprocessor">#define NRF_FIFO_RX_EMPTY                   (1&lt;&lt;0)</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ab06a06ae033819c3db14c67917feb6ba">   86</a></span>&#160;<span class="preprocessor">#define NRF_FIFO_RX_FULL                    (1&lt;&lt;1)</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#adb6b3b6c685b310485bd06ded7502223">   87</a></span>&#160;<span class="preprocessor">#define NRF_FIFO_TX_EMPTY                   (1&lt;&lt;4)</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a6487518a2051f9e99fef8bf316b8ba7a">   88</a></span>&#160;<span class="preprocessor">#define NRF_FIFO_TX_FULL                    (1&lt;&lt;5)</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="comment">// Config register masks</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a41ed3e21d593fc54408e82678511b8f5">   91</a></span>&#160;<span class="preprocessor">#define NRF_CONFIG_PRIM_RX                  (1&lt;&lt;0)</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a92337b589bdae949182f7c72edeb9da3">   92</a></span>&#160;<span class="preprocessor">#define NRF_CONFIG_PWR_UP                   (1&lt;&lt;1)</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a35927f9d4874e75bc62c115c5ed888a3">   93</a></span>&#160;<span class="preprocessor">#define NRF_CONFIG_CRCO                     (1&lt;&lt;2)</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a4fa986f3ee9ffd6450077fe61e201a8c">   94</a></span>&#160;<span class="preprocessor">#define NRF_CONFIG_EN_CRC                   (1&lt;&lt;3)</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#aedfb85738cad4933fb8804f38e4aef56">   95</a></span>&#160;<span class="preprocessor">#define NRF_CONFIG_MASK_MAX_RT              (1&lt;&lt;4)</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ac160202f2b9dcab201138d77f203b578">   96</a></span>&#160;<span class="preprocessor">#define NRF_CONFIG_MASK_TX_DS               (1&lt;&lt;5)</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a580060b96f96504c18dfac04d2218d27">   97</a></span>&#160;<span class="preprocessor">#define NRF_CONFIG_MASK_RX_DR               (1&lt;&lt;6)</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="comment">// Feature register masks</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#acc4077a4a83e22796131905056cf57e8">  100</a></span>&#160;<span class="preprocessor">#define NRF_FEATURE_DYN_ACK                 (1&lt;&lt;0)</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ad1df369ea79c3fe905c3653f3765c549">  101</a></span>&#160;<span class="preprocessor">#define NRF_FEATURE_ACK_PAYLOAD             (1&lt;&lt;1)</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a9208291f7a6d099fe0f8b24d97282268">  102</a></span>&#160;<span class="preprocessor">#define NRF_FEATURE_DPL                     (1&lt;&lt;2)</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="comment">// RF setup register masks</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ab0d119898387c5a464e69a5d6b77a5be">  105</a></span>&#160;<span class="preprocessor">#define NRF_RF_SETUP_RF_DR_LOW              (1&lt;&lt;5)</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a805ea977d6d6017daad10295c4283aff">  106</a></span>&#160;<span class="preprocessor">#define NRF_RF_SETUP_RF_DR_HIGH             (1&lt;&lt;3)</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ab24fed5b354c214b4c91e9072fb50022">  107</a></span>&#160;<span class="preprocessor">#define NRF_RF_SETUP_RF_PWR                 (1&lt;&lt;1 | 1&lt;&lt;2)</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="comment">// RETR setup masks</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#addec26216d1aefece57a808c0d574427">  110</a></span>&#160;<span class="preprocessor">#define NRF_SETUP_RETR_ARC                  (1&lt;&lt;0 | 1&lt;&lt;1 | 1&lt;&lt;2 | 1&lt;&lt;3)</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a0df66e08ded6e267fc97cd0eec61d9ea">  111</a></span>&#160;<span class="preprocessor">#define NRF_SETUP_RETR_ARD                  (1&lt;&lt;4 | 1&lt;&lt;5 | 1&lt;&lt;6 | 1&lt;&lt;7)</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ab775f8f0a6c4750a24077fb3e5725a20">  113</a></span>&#160;<span class="preprocessor">#define NRF_MASK_PIPE0                      (1&lt;&lt;0)</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a270e489a4e3d367b0655816df983ad82">  114</a></span>&#160;<span class="preprocessor">#define NRF_MASK_PIPE1                      (1&lt;&lt;1)</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a3a6f9d9cdada27ceffcf4efeb8641ca9">  115</a></span>&#160;<span class="preprocessor">#define NRF_MASK_PIPE2                      (1&lt;&lt;2)</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#af6cdf883c0086fd492576b4abf92556f">  116</a></span>&#160;<span class="preprocessor">#define NRF_MASK_PIPE3                      (1&lt;&lt;3)</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#adfca8984d6ce9cba26048231f3fc0c7c">  117</a></span>&#160;<span class="preprocessor">#define NRF_MASK_PIPE4                      (1&lt;&lt;4)</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ac11755287ac19ab9dda75094b50c0e21">  118</a></span>&#160;<span class="preprocessor">#define NRF_MASK_PIPE5                      (1&lt;&lt;5)</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="comment">// Commands</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#aac9e23b74adf03234f45e77d22b4c076">  121</a></span>&#160;<span class="preprocessor">#define NRF_CMD_READ_REGISTER               0b00000000</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a01c969643fce4690b4c46b73c91faae1">  122</a></span>&#160;<span class="preprocessor">#define NRF_CMD_WRITE_REGISTER              0b00100000</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#aab12a9161ce1b5ed96346877ed4fdee5">  123</a></span>&#160;<span class="preprocessor">#define NRF_CMD_READ_RX_PAYLOAD             0b01100001 // Read RX-payload</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ae490950331d0ed2cd0be0e56d180a76c">  124</a></span>&#160;<span class="preprocessor">#define NRF_CMD_WRITE_TX_PAYLOAD            0b10100000 // Write TX-payload</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#afb56566fe64c7c5595a37ec9ba8afaac">  125</a></span>&#160;<span class="preprocessor">#define NRF_CMD_FLUSH_TX                    0b11100001 // Flush TX FIFO</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ae92ae4f99a7d9d266c5e3abba573814d">  126</a></span>&#160;<span class="preprocessor">#define NRF_CMD_FLUSH_RX                    0b11100010 // Flush RX FIFO</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a3bb4b5601533895ea1117cf0bbc9cde0">  127</a></span>&#160;<span class="preprocessor">#define NRF_CMD_REUSE_TX                    0b11100011 // Reuse last transmitted payload</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ab40c4a84f197e8b745fc331c74b3330b">  128</a></span>&#160;<span class="preprocessor">#define NRF_CMD_ACTIVATE                    0b01010000 // Activate features</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a00b9fdd55884613cc1f2fb7f9026a943">  129</a></span>&#160;<span class="preprocessor">#define NRF_CMD_READ_RX_PAYLOAD_WIDTH       0b01100000 // Read RX-payload width</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a65c836ed9512289d4734a49cd8e0e693">  130</a></span>&#160;<span class="preprocessor">#define NRF_CMD_WRITE_ACK_PAYLOAD           0b10101000 // Write payload for ACK packet</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ad6b513cbaaa318e20e9a3b66758875da">  131</a></span>&#160;<span class="preprocessor">#define NRF_CMD_WRITE_TX_PAYLOAD_NO_ACK     0b10110000 // Disables AUTOACK on packet</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#acbe978ee58b6ba904ad3666f07156969">  132</a></span>&#160;<span class="preprocessor">#define NRF_CMD_NOP                         0b11111111 // NOP</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="comment">// Registers</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a42afbf9798efc6e02d1cc071cf177ae1">  135</a></span>&#160;<span class="preprocessor">#define NRF_REG_CONFIG                      0x00 // Configuration Register</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ac9f40aa22e663bc724ec460880cf2964">  136</a></span>&#160;<span class="preprocessor">#define NRF_REG_EN_AA                       0x01 // Auto Acknowledgment</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a6ab4c940e92130fb1ddfaf2dfa12d9da">  137</a></span>&#160;<span class="preprocessor">#define NRF_REG_EN_RXADDR                   0x02 // Enabled RX Addresses</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a6de329e30fc157b3459a2290c1b86465">  138</a></span>&#160;<span class="preprocessor">#define NRF_REG_SETUP_AW                    0x03 // Setup of Address Widths</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a9b2b56fc514603d0af872ce9118288e5">  139</a></span>&#160;<span class="preprocessor">#define NRF_REG_SETUP_RETR                  0x04 // Setup of Automatic Retransmission</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a6864995fccdf665dfe849f5777c9439a">  140</a></span>&#160;<span class="preprocessor">#define NRF_REG_RF_CH                       0x05 // RF Channel</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a3cce4d5b37dbc1e80e387ff35044bfce">  141</a></span>&#160;<span class="preprocessor">#define NRF_REG_RF_SETUP                    0x06 // RF Setup Register</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a814b81a478eae410c1ec7fcf6cca0cbe">  142</a></span>&#160;<span class="preprocessor">#define NRF_REG_STATUS                      0x07 // Status Register</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a705930436301a699d136926268295cb2">  143</a></span>&#160;<span class="preprocessor">#define NRF_REG_OBSERVE_TX                  0x08 // Transmit observe register</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a006fa6eb2682da686e7c9bb9501c8d57">  144</a></span>&#160;<span class="preprocessor">#define NRF_REG_RPD                         0x09 // Receive power detector</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ac94068e8173a2c21af15174b7a57b7d7">  145</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_ADDR_P0                  0x0A // Receive address data pipe 0</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ad08c033683e8028f15d62b292364ef82">  146</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_ADDR_P1                  0x0B // Receive address data pipe 1</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a5fdb209489769b45f2bd6e33cdd65e4f">  147</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_ADDR_P2                  0x0C // Receive address data pipe 2</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#aaf0ff3a2f998702012b5af1f70757d8d">  148</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_ADDR_P3                  0x0D // Receive address data pipe 3</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a1d4f11160f5b80c807dafa237b9920e6">  149</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_ADDR_P4                  0x0E // Receive address data pipe 4</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#ab843d9c8dad821d1a672f6debf0cc0d6">  150</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_ADDR_P5                  0x0F // Receive address data pipe 5</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a190301fa1ab832be8458db15d623aa8d">  151</a></span>&#160;<span class="preprocessor">#define NRF_REG_TX_ADDR                     0x10 // Transmit address</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a4d4d90cae2eac296e51a3cf5133cf8b9">  152</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_PW_P0                    0x11 // Number of bytes in RX payload</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a5265ba20e63a59d01844d6c09663e679">  153</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_PW_P1                    0x12 // Number of bytes in RX payload</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a446c0de40fdb094c0c7cd53f147de02c">  154</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_PW_P2                    0x13 // Number of bytes in RX payload</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a82ded60f5cebe88c9ab61ea4b6f85993">  155</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_PW_P3                    0x14 // Number of bytes in RX payload</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a35976a77472bdffa07c37db199b01f5d">  156</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_PW_P4                    0x15 // Number of bytes in RX payload</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a46cdd2a9e558e00fb948fe3f7d218d35">  157</a></span>&#160;<span class="preprocessor">#define NRF_REG_RX_PW_P5                    0x16 // Number of bytes in RX payload</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a89c22e794fc7c32b6310a3791566504d">  158</a></span>&#160;<span class="preprocessor">#define NRF_REG_FIFO_STATUS                 0x17 // FIFO Status Register</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a3c8f65b7691a7624c6ad394d0c1f9d33">  159</a></span>&#160;<span class="preprocessor">#define NRF_REG_DYNPD                       0x1C // Enable dynamic payload length</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="../../df/db2/rf_8h.html#a544b3970b08f2862c895180c0b54fe09">  160</a></span>&#160;<span class="preprocessor">#define NRF_REG_FEATURE                     0x1D // Feature Register</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment">// Functions</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a1b5bdfdd0992d2dfc1cd8f55a8305a11">rf_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a1ed291b7cfa0e550739d9f7d709e6c5b">rf_set_speed</a>(<a class="code" href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2">NRF_SPEED</a> speed);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a8af9aa5c34f1296dc4596311dcb575e8">rf_set_power</a>(<a class="code" href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87">NRF_POWER</a> power);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a1762e6da8c9417c84af17560b0cc5f69">rf_set_address_width</a>(<a class="code" href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946ba">NRF_AW</a> aw);</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#acb38d747ee64a0bad2e80f9276333031">rf_set_crc_type</a>(<a class="code" href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30d">NRF_CRC</a> crc_type);</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a1271f32a63f280682f57ecc0b9ce5754">rf_set_retr_retries</a>(<span class="keywordtype">int</span> retries);</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a7f27241a4decfe9e8dce80e33ad6fa96">rf_set_retr_delay</a>(<a class="code" href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edac">NRF_RETR_DELAY</a> delay);</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#ae2f75606ed1d1b600f443a2fc2d071cd">rf_set_rx_addr</a>(<span class="keywordtype">int</span> pipe, <span class="keyword">const</span> <span class="keywordtype">char</span> *address, <span class="keywordtype">int</span> addr_len);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a2ccad53407f9b7a4486e4629b3c1bd3a">rf_set_tx_addr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *address, <span class="keywordtype">int</span> addr_len);</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#aecbef432f04e5a6d7b3aac5b73bdf2df">rf_write_tx_payload</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> length);</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a864bff6d1dbd41a1f7ab18e5ef41513d">rf_write_tx_payload_no_ack</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> length);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a7002dcdcc3e70ca4a16fe3c564122f41">rf_write_ack_payload</a>(<span class="keywordtype">int</span> pipe, <span class="keyword">const</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> length);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a66dbe268b81ebd32caa74c23fe8a286e">rf_read_rx_payload</a>(<span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> length);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#afb53a192305ac7b1fd3cc0a628e6afa6">rf_set_frequency</a>(<span class="keywordtype">int</span> freq);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../df/db2/rf_8h.html#a64c7530ba67335d1ba3596f3f5d7f0d1">rf_get_frequency</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../df/db2/rf_8h.html#aeda1d4b8e4617ca763071d8bee8f2a80">rf_get_address_width</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a62146b425a3d91a67ca7ecfbb4bec5bf">rf_power_up</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a2c1c5428bd9f78eda89681d41a56fdcb">rf_power_down</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a06874ea67b6942b4f144e1c5df0f6893">rf_mode_tx</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a455d7a462b8d50428363eb15be513608">rf_mode_rx</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a00613e8145171cf56d7f8b73e909ded1">rf_enable_pipe_autoack</a>(<span class="keywordtype">int</span> pipes);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#aead4feb1736b8fc420e9f2dcf19a0ff4">rf_enable_pipe_address</a>(<span class="keywordtype">int</span> pipes);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#aef3bc497c4181f1732af307d877c530e">rf_enable_pipe_dlp</a>(<span class="keywordtype">int</span> pipes);</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#aad4cc56c19ad122ea10d9bec0b576d5c">rf_enable_features</a>(<span class="keywordtype">int</span> features);</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a123a9e0f0bf9457980000f6b55c2bd77">rf_flush_tx</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a1d0ac730aeea81622f937059cd34c0a9">rf_flush_rx</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a5142dccd788732058054f9af71e1b97d">rf_flush_all</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#abf6db5658af765b03c91ab4ee57ab88e">rf_clear_irq</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#ab038a2a534f38321bdede17c03dd3e44">rf_clear_rx_irq</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a6ce3d8fe240c79abd4dc2180eb54296d">rf_clear_tx_irq</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a2203c92df18307d4ff7a4f02d1e73ae9">rf_clear_maxrt_irq</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../df/db2/rf_8h.html#a5f4d2685ddf1d842aaaf24264249bd67">rf_get_payload_width</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../df/db2/rf_8h.html#a86b79e46e21d1387c4bbc5f5af857643">rf_status</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../df/db2/rf_8h.html#a205b36acbe2273b52e8b1669a43e4326">rf_fifo_status</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../df/db2/rf_8h.html#a429706ba8fe1de62fc8715a4c81b9a0d">rf_rx_power_detect</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a47b7e9e6e6b4b23585a5b5d7421abed4">rf_write_reg</a>(<span class="keywordtype">int</span> reg, <span class="keyword">const</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#a9454827d20696bdae764622c89baec98">rf_write_reg_byte</a>(<span class="keywordtype">int</span> reg, <span class="keywordtype">char</span> value);</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../df/db2/rf_8h.html#acb889a72d3622d83bfca5698b8934fb5">rf_read_reg</a>(<span class="keywordtype">int</span> reg, <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="keywordtype">char</span> <a class="code" href="../../df/db2/rf_8h.html#af2b6ee87b35be345bc43c1d0e9df566a">rf_read_reg_byte</a>(<span class="keywordtype">int</span> reg);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* RF_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="rf_8h_html_a2ccad53407f9b7a4486e4629b3c1bd3a"><div class="ttname"><a href="../../df/db2/rf_8h.html#a2ccad53407f9b7a4486e4629b3c1bd3a">rf_set_tx_addr</a></div><div class="ttdeci">void rf_set_tx_addr(const char *address, int addr_len)</div><div class="ttdef"><b>Definition:</b> rf.c:157</div></div>
<div class="ttc" id="rf_8h_html_a3e46250fb3ac36f2d332e714caf946baad3f3694810e7e5ca6919621c1546ea13"><div class="ttname"><a href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946baad3f3694810e7e5ca6919621c1546ea13">NRF_AW_3</a></div><div class="ttdef"><b>Definition:</b> rf.h:39</div></div>
<div class="ttc" id="rf_8h_html_a455d7a462b8d50428363eb15be513608"><div class="ttname"><a href="../../df/db2/rf_8h.html#a455d7a462b8d50428363eb15be513608">rf_mode_rx</a></div><div class="ttdeci">void rf_mode_rx(void)</div><div class="ttdef"><b>Definition:</b> rf.c:244</div></div>
<div class="ttc" id="rf_8h_html_a7c6800c077006c2130b1c5b44350bb87a3c8f3a066cfbc686563e136b205445a4"><div class="ttname"><a href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87a3c8f3a066cfbc686563e136b205445a4">NRF_POWER_M18DBM</a></div><div class="ttdef"><b>Definition:</b> rf.h:32</div></div>
<div class="ttc" id="rf_8h_html_a864bff6d1dbd41a1f7ab18e5ef41513d"><div class="ttname"><a href="../../df/db2/rf_8h.html#a864bff6d1dbd41a1f7ab18e5ef41513d">rf_write_tx_payload_no_ack</a></div><div class="ttdeci">void rf_write_tx_payload_no_ack(const char *data, int length)</div><div class="ttdef"><b>Definition:</b> rf.c:171</div></div>
<div class="ttc" id="rf_8h_html_abf6db5658af765b03c91ab4ee57ab88e"><div class="ttname"><a href="../../df/db2/rf_8h.html#abf6db5658af765b03c91ab4ee57ab88e">rf_clear_irq</a></div><div class="ttdeci">void rf_clear_irq(void)</div><div class="ttdef"><b>Definition:</b> rf.c:307</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edacad95e5e1548b04fce109e5c3104424cba"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacad95e5e1548b04fce109e5c3104424cba">NRF_RETR_DELAY_3500US</a></div><div class="ttdef"><b>Definition:</b> rf.h:64</div></div>
<div class="ttc" id="rf_8h_html_a1762e6da8c9417c84af17560b0cc5f69"><div class="ttname"><a href="../../df/db2/rf_8h.html#a1762e6da8c9417c84af17560b0cc5f69">rf_set_address_width</a></div><div class="ttdeci">void rf_set_address_width(NRF_AW aw)</div><div class="ttdef"><b>Definition:</b> rf.c:98</div></div>
<div class="ttc" id="rf_8h_html_a6e76e813c4075dd0b98bf5573ba9bcb2a99c5dde8222084fc3840daca490e908d"><div class="ttname"><a href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2a99c5dde8222084fc3840daca490e908d">NRF_SPEED_250K</a></div><div class="ttdef"><b>Definition:</b> rf.h:26</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edacaae2499cae7dc9718149b13630ad80467"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaae2499cae7dc9718149b13630ad80467">NRF_RETR_DELAY_2500US</a></div><div class="ttdef"><b>Definition:</b> rf.h:60</div></div>
<div class="ttc" id="rf_8h_html_a6e76e813c4075dd0b98bf5573ba9bcb2a428dcdcbd4fc1dfeff406ecf8b782d37"><div class="ttname"><a href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2a428dcdcbd4fc1dfeff406ecf8b782d37">NRF_SPEED_1M</a></div><div class="ttdef"><b>Definition:</b> rf.h:27</div></div>
<div class="ttc" id="rf_8h_html_a7f27241a4decfe9e8dce80e33ad6fa96"><div class="ttname"><a href="../../df/db2/rf_8h.html#a7f27241a4decfe9e8dce80e33ad6fa96">rf_set_retr_delay</a></div><div class="ttdeci">void rf_set_retr_delay(NRF_RETR_DELAY delay)</div><div class="ttdef"><b>Definition:</b> rf.c:141</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edaca359b15922e6b85d0a4ad947ac2c627d0"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca359b15922e6b85d0a4ad947ac2c627d0">NRF_RETR_DELAY_250US</a></div><div class="ttdef"><b>Definition:</b> rf.h:51</div></div>
<div class="ttc" id="rf_8h_html_a2203c92df18307d4ff7a4f02d1e73ae9"><div class="ttname"><a href="../../df/db2/rf_8h.html#a2203c92df18307d4ff7a4f02d1e73ae9">rf_clear_maxrt_irq</a></div><div class="ttdeci">void rf_clear_maxrt_irq(void)</div><div class="ttdef"><b>Definition:</b> rf.c:319</div></div>
<div class="ttc" id="rf_8h_html_a123a9e0f0bf9457980000f6b55c2bd77"><div class="ttname"><a href="../../df/db2/rf_8h.html#a123a9e0f0bf9457980000f6b55c2bd77">rf_flush_tx</a></div><div class="ttdeci">void rf_flush_tx(void)</div><div class="ttdef"><b>Definition:</b> rf.c:288</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edacad6d559428d14529ccc4c48b980d15774"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacad6d559428d14529ccc4c48b980d15774">NRF_RETR_DELAY_2750US</a></div><div class="ttdef"><b>Definition:</b> rf.h:61</div></div>
<div class="ttc" id="rf_8h_html_a1b5bdfdd0992d2dfc1cd8f55a8305a11"><div class="ttname"><a href="../../df/db2/rf_8h.html#a1b5bdfdd0992d2dfc1cd8f55a8305a11">rf_init</a></div><div class="ttdeci">void rf_init(void)</div><div class="ttdef"><b>Definition:</b> rf.c:23</div></div>
<div class="ttc" id="rf_8h_html_a6e76e813c4075dd0b98bf5573ba9bcb2"><div class="ttname"><a href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2">NRF_SPEED</a></div><div class="ttdeci">NRF_SPEED</div><div class="ttdef"><b>Definition:</b> rf.h:25</div></div>
<div class="ttc" id="rf_8h_html_a9454827d20696bdae764622c89baec98"><div class="ttname"><a href="../../df/db2/rf_8h.html#a9454827d20696bdae764622c89baec98">rf_write_reg_byte</a></div><div class="ttdeci">void rf_write_reg_byte(int reg, char value)</div><div class="ttdef"><b>Definition:</b> rf.c:358</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edaca61775d2cdf89a1fb8f0789d01404700c"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca61775d2cdf89a1fb8f0789d01404700c">NRF_RETR_DELAY_2000US</a></div><div class="ttdef"><b>Definition:</b> rf.h:58</div></div>
<div class="ttc" id="rf_8h_html_a6e76e813c4075dd0b98bf5573ba9bcb2a45770f2ff28996549f160a7c77508555"><div class="ttname"><a href="../../df/db2/rf_8h.html#a6e76e813c4075dd0b98bf5573ba9bcb2a45770f2ff28996549f160a7c77508555">NRF_SPEED_2M</a></div><div class="ttdef"><b>Definition:</b> rf.h:28</div></div>
<div class="ttc" id="rf_8h_html_ade98ffb85653a04314f627c4b475b30dabe27fe855d5be37a6b44e78c57fc8bb0"><div class="ttname"><a href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30dabe27fe855d5be37a6b44e78c57fc8bb0">NRF_CRC_1B</a></div><div class="ttdef"><b>Definition:</b> rf.h:46</div></div>
<div class="ttc" id="rf_8h_html_a7002dcdcc3e70ca4a16fe3c564122f41"><div class="ttname"><a href="../../df/db2/rf_8h.html#a7002dcdcc3e70ca4a16fe3c564122f41">rf_write_ack_payload</a></div><div class="ttdeci">void rf_write_ack_payload(int pipe, const char *data, int length)</div><div class="ttdef"><b>Definition:</b> rf.c:181</div></div>
<div class="ttc" id="rf_8h_html_aeda1d4b8e4617ca763071d8bee8f2a80"><div class="ttname"><a href="../../df/db2/rf_8h.html#aeda1d4b8e4617ca763071d8bee8f2a80">rf_get_address_width</a></div><div class="ttdeci">int rf_get_address_width(void)</div><div class="ttdef"><b>Definition:</b> rf.c:212</div></div>
<div class="ttc" id="rf_8h_html_a3e46250fb3ac36f2d332e714caf946ba"><div class="ttname"><a href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946ba">NRF_AW</a></div><div class="ttdeci">NRF_AW</div><div class="ttdef"><b>Definition:</b> rf.h:38</div></div>
<div class="ttc" id="rf_8h_html_afb53a192305ac7b1fd3cc0a628e6afa6"><div class="ttname"><a href="../../df/db2/rf_8h.html#afb53a192305ac7b1fd3cc0a628e6afa6">rf_set_frequency</a></div><div class="ttdeci">void rf_set_frequency(int freq)</div><div class="ttdef"><b>Definition:</b> rf.c:201</div></div>
<div class="ttc" id="rf_8h_html_a5f4d2685ddf1d842aaaf24264249bd67"><div class="ttname"><a href="../../df/db2/rf_8h.html#a5f4d2685ddf1d842aaaf24264249bd67">rf_get_payload_width</a></div><div class="ttdeci">int rf_get_payload_width(void)</div><div class="ttdef"><b>Definition:</b> rf.c:323</div></div>
<div class="ttc" id="rf_8h_html_a2c1c5428bd9f78eda89681d41a56fdcb"><div class="ttname"><a href="../../df/db2/rf_8h.html#a2c1c5428bd9f78eda89681d41a56fdcb">rf_power_down</a></div><div class="ttdeci">void rf_power_down(void)</div><div class="ttdef"><b>Definition:</b> rf.c:226</div></div>
<div class="ttc" id="rf_8h_html_a86b79e46e21d1387c4bbc5f5af857643"><div class="ttname"><a href="../../df/db2/rf_8h.html#a86b79e46e21d1387c4bbc5f5af857643">rf_status</a></div><div class="ttdeci">int rf_status(void)</div><div class="ttdef"><b>Definition:</b> rf.c:333</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edaca5257fc4c427e200586fc45e31b378b22"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca5257fc4c427e200586fc45e31b378b22">NRF_RETR_DELAY_500US</a></div><div class="ttdef"><b>Definition:</b> rf.h:52</div></div>
<div class="ttc" id="rf_8h_html_ade98ffb85653a04314f627c4b475b30dabb21547236a721cf34ba6f2de9bc67b7"><div class="ttname"><a href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30dabb21547236a721cf34ba6f2de9bc67b7">NRF_CRC_DISABLED</a></div><div class="ttdef"><b>Definition:</b> rf.h:45</div></div>
<div class="ttc" id="rf_8h_html_a1d0ac730aeea81622f937059cd34c0a9"><div class="ttname"><a href="../../df/db2/rf_8h.html#a1d0ac730aeea81622f937059cd34c0a9">rf_flush_rx</a></div><div class="ttdeci">void rf_flush_rx(void)</div><div class="ttdef"><b>Definition:</b> rf.c:295</div></div>
<div class="ttc" id="rf_8h_html_a1ed291b7cfa0e550739d9f7d709e6c5b"><div class="ttname"><a href="../../df/db2/rf_8h.html#a1ed291b7cfa0e550739d9f7d709e6c5b">rf_set_speed</a></div><div class="ttdeci">void rf_set_speed(NRF_SPEED speed)</div><div class="ttdef"><b>Definition:</b> rf.c:53</div></div>
<div class="ttc" id="rf_8h_html_aef3bc497c4181f1732af307d877c530e"><div class="ttname"><a href="../../df/db2/rf_8h.html#aef3bc497c4181f1732af307d877c530e">rf_enable_pipe_dlp</a></div><div class="ttdeci">void rf_enable_pipe_dlp(int pipes)</div><div class="ttdef"><b>Definition:</b> rf.c:271</div></div>
<div class="ttc" id="rf_8h_html_aad4cc56c19ad122ea10d9bec0b576d5c"><div class="ttname"><a href="../../df/db2/rf_8h.html#aad4cc56c19ad122ea10d9bec0b576d5c">rf_enable_features</a></div><div class="ttdeci">void rf_enable_features(int features)</div><div class="ttdef"><b>Definition:</b> rf.c:280</div></div>
<div class="ttc" id="rf_8h_html_a3e46250fb3ac36f2d332e714caf946baad660b7e3e8363c9f7462fce52f538b97"><div class="ttname"><a href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946baad660b7e3e8363c9f7462fce52f538b97">NRF_AW_4</a></div><div class="ttdef"><b>Definition:</b> rf.h:40</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edacaa6359278b04629cb8ba5528f0b35dbed"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaa6359278b04629cb8ba5528f0b35dbed">NRF_RETR_DELAY_1000US</a></div><div class="ttdef"><b>Definition:</b> rf.h:54</div></div>
<div class="ttc" id="rf_8h_html_a00613e8145171cf56d7f8b73e909ded1"><div class="ttname"><a href="../../df/db2/rf_8h.html#a00613e8145171cf56d7f8b73e909ded1">rf_enable_pipe_autoack</a></div><div class="ttdeci">void rf_enable_pipe_autoack(int pipes)</div><div class="ttdef"><b>Definition:</b> rf.c:253</div></div>
<div class="ttc" id="rf_8h_html_a06874ea67b6942b4f144e1c5df0f6893"><div class="ttname"><a href="../../df/db2/rf_8h.html#a06874ea67b6942b4f144e1c5df0f6893">rf_mode_tx</a></div><div class="ttdeci">void rf_mode_tx(void)</div><div class="ttdef"><b>Definition:</b> rf.c:235</div></div>
<div class="ttc" id="rf_8h_html_aead4feb1736b8fc420e9f2dcf19a0ff4"><div class="ttname"><a href="../../df/db2/rf_8h.html#aead4feb1736b8fc420e9f2dcf19a0ff4">rf_enable_pipe_address</a></div><div class="ttdeci">void rf_enable_pipe_address(int pipes)</div><div class="ttdef"><b>Definition:</b> rf.c:262</div></div>
<div class="ttc" id="rf_8h_html_ab038a2a534f38321bdede17c03dd3e44"><div class="ttname"><a href="../../df/db2/rf_8h.html#ab038a2a534f38321bdede17c03dd3e44">rf_clear_rx_irq</a></div><div class="ttdeci">void rf_clear_rx_irq(void)</div><div class="ttdef"><b>Definition:</b> rf.c:311</div></div>
<div class="ttc" id="rf_8h_html_ade98ffb85653a04314f627c4b475b30da379a4b76ba47f41ebbe41dfb2ceb1927"><div class="ttname"><a href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30da379a4b76ba47f41ebbe41dfb2ceb1927">NRF_CRC_2B</a></div><div class="ttdef"><b>Definition:</b> rf.h:47</div></div>
<div class="ttc" id="rf_8h_html_a66dbe268b81ebd32caa74c23fe8a286e"><div class="ttname"><a href="../../df/db2/rf_8h.html#a66dbe268b81ebd32caa74c23fe8a286e">rf_read_rx_payload</a></div><div class="ttdeci">void rf_read_rx_payload(char *data, int length)</div><div class="ttdef"><b>Definition:</b> rf.c:191</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edac"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edac">NRF_RETR_DELAY</a></div><div class="ttdeci">NRF_RETR_DELAY</div><div class="ttdef"><b>Definition:</b> rf.h:50</div></div>
<div class="ttc" id="rf_8h_html_a7c6800c077006c2130b1c5b44350bb87a53021208b09a7ff8b0f3c81061f46879"><div class="ttname"><a href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87a53021208b09a7ff8b0f3c81061f46879">NRF_POWER_0DBM</a></div><div class="ttdef"><b>Definition:</b> rf.h:35</div></div>
<div class="ttc" id="rf_8h_html_acb889a72d3622d83bfca5698b8934fb5"><div class="ttname"><a href="../../df/db2/rf_8h.html#acb889a72d3622d83bfca5698b8934fb5">rf_read_reg</a></div><div class="ttdeci">void rf_read_reg(int reg, char *data, int len)</div><div class="ttdef"><b>Definition:</b> rf.c:362</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edaca57c2206265db8500dc8ea29cd826a293"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca57c2206265db8500dc8ea29cd826a293">NRF_RETR_DELAY_1250US</a></div><div class="ttdef"><b>Definition:</b> rf.h:55</div></div>
<div class="ttc" id="rf_8h_html_a7c6800c077006c2130b1c5b44350bb87ab2ab794d7f27ae74cb75c891751d58e4"><div class="ttname"><a href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87ab2ab794d7f27ae74cb75c891751d58e4">NRF_POWER_M12DBM</a></div><div class="ttdef"><b>Definition:</b> rf.h:33</div></div>
<div class="ttc" id="rf_8h_html_a3e46250fb3ac36f2d332e714caf946baacb2d89e080c2be5e1fba12a0735dffd7"><div class="ttname"><a href="../../df/db2/rf_8h.html#a3e46250fb3ac36f2d332e714caf946baacb2d89e080c2be5e1fba12a0735dffd7">NRF_AW_5</a></div><div class="ttdef"><b>Definition:</b> rf.h:41</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edacad7927a54431e4ee2b8843ba20d28dfc7"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacad7927a54431e4ee2b8843ba20d28dfc7">NRF_RETR_DELAY_750US</a></div><div class="ttdef"><b>Definition:</b> rf.h:53</div></div>
<div class="ttc" id="rf_8h_html_a47b7e9e6e6b4b23585a5b5d7421abed4"><div class="ttname"><a href="../../df/db2/rf_8h.html#a47b7e9e6e6b4b23585a5b5d7421abed4">rf_write_reg</a></div><div class="ttdeci">void rf_write_reg(int reg, const char *data, int len)</div><div class="ttdef"><b>Definition:</b> rf.c:349</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edaca88cc568cb451381b0ce9fe23a3c70e89"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca88cc568cb451381b0ce9fe23a3c70e89">NRF_RETR_DELAY_3000US</a></div><div class="ttdef"><b>Definition:</b> rf.h:62</div></div>
<div class="ttc" id="rf_8h_html_ae2f75606ed1d1b600f443a2fc2d071cd"><div class="ttname"><a href="../../df/db2/rf_8h.html#ae2f75606ed1d1b600f443a2fc2d071cd">rf_set_rx_addr</a></div><div class="ttdeci">void rf_set_rx_addr(int pipe, const char *address, int addr_len)</div><div class="ttdef"><b>Definition:</b> rf.c:153</div></div>
<div class="ttc" id="rf_8h_html_a64c7530ba67335d1ba3596f3f5d7f0d1"><div class="ttname"><a href="../../df/db2/rf_8h.html#a64c7530ba67335d1ba3596f3f5d7f0d1">rf_get_frequency</a></div><div class="ttdeci">int rf_get_frequency(void)</div><div class="ttdef"><b>Definition:</b> rf.c:207</div></div>
<div class="ttc" id="rf_8h_html_a7c6800c077006c2130b1c5b44350bb87aae75e5416b89e8b3483468e87cd3a9dd"><div class="ttname"><a href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87aae75e5416b89e8b3483468e87cd3a9dd">NRF_POWER_M6DBM</a></div><div class="ttdef"><b>Definition:</b> rf.h:34</div></div>
<div class="ttc" id="rf_8h_html_af2b6ee87b35be345bc43c1d0e9df566a"><div class="ttname"><a href="../../df/db2/rf_8h.html#af2b6ee87b35be345bc43c1d0e9df566a">rf_read_reg_byte</a></div><div class="ttdeci">char rf_read_reg_byte(int reg)</div><div class="ttdef"><b>Definition:</b> rf.c:371</div></div>
<div class="ttc" id="rf_8h_html_a205b36acbe2273b52e8b1669a43e4326"><div class="ttname"><a href="../../df/db2/rf_8h.html#a205b36acbe2273b52e8b1669a43e4326">rf_fifo_status</a></div><div class="ttdeci">int rf_fifo_status(void)</div><div class="ttdef"><b>Definition:</b> rf.c:341</div></div>
<div class="ttc" id="rf_8h_html_a429706ba8fe1de62fc8715a4c81b9a0d"><div class="ttname"><a href="../../df/db2/rf_8h.html#a429706ba8fe1de62fc8715a4c81b9a0d">rf_rx_power_detect</a></div><div class="ttdeci">int rf_rx_power_detect(void)</div><div class="ttdef"><b>Definition:</b> rf.c:345</div></div>
<div class="ttc" id="rf_8h_html_a8af9aa5c34f1296dc4596311dcb575e8"><div class="ttname"><a href="../../df/db2/rf_8h.html#a8af9aa5c34f1296dc4596311dcb575e8">rf_set_power</a></div><div class="ttdeci">void rf_set_power(NRF_POWER power)</div><div class="ttdef"><b>Definition:</b> rf.c:80</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edaca7cc986a169a2a262bddc55c3caa0d4e3"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca7cc986a169a2a262bddc55c3caa0d4e3">NRF_RETR_DELAY_3750US</a></div><div class="ttdef"><b>Definition:</b> rf.h:65</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edacaaf65bf60092d26e693dd263052c76d7c"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaaf65bf60092d26e693dd263052c76d7c">NRF_RETR_DELAY_1500US</a></div><div class="ttdef"><b>Definition:</b> rf.h:56</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edacaa3f4e472e5d0ddf6483ea98751ba1772"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacaa3f4e472e5d0ddf6483ea98751ba1772">NRF_RETR_DELAY_4000US</a></div><div class="ttdef"><b>Definition:</b> rf.h:66</div></div>
<div class="ttc" id="rf_8h_html_a62146b425a3d91a67ca7ecfbb4bec5bf"><div class="ttname"><a href="../../df/db2/rf_8h.html#a62146b425a3d91a67ca7ecfbb4bec5bf">rf_power_up</a></div><div class="ttdeci">void rf_power_up(void)</div><div class="ttdef"><b>Definition:</b> rf.c:217</div></div>
<div class="ttc" id="rf_8h_html_aecbef432f04e5a6d7b3aac5b73bdf2df"><div class="ttname"><a href="../../df/db2/rf_8h.html#aecbef432f04e5a6d7b3aac5b73bdf2df">rf_write_tx_payload</a></div><div class="ttdeci">void rf_write_tx_payload(const char *data, int length)</div><div class="ttdef"><b>Definition:</b> rf.c:161</div></div>
<div class="ttc" id="rf_8h_html_a6ce3d8fe240c79abd4dc2180eb54296d"><div class="ttname"><a href="../../df/db2/rf_8h.html#a6ce3d8fe240c79abd4dc2180eb54296d">rf_clear_tx_irq</a></div><div class="ttdeci">void rf_clear_tx_irq(void)</div><div class="ttdef"><b>Definition:</b> rf.c:315</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edaca8586bd9f07045136f949d9aac9905504"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca8586bd9f07045136f949d9aac9905504">NRF_RETR_DELAY_1750US</a></div><div class="ttdef"><b>Definition:</b> rf.h:57</div></div>
<div class="ttc" id="rf_8h_html_a7c6800c077006c2130b1c5b44350bb87"><div class="ttname"><a href="../../df/db2/rf_8h.html#a7c6800c077006c2130b1c5b44350bb87">NRF_POWER</a></div><div class="ttdeci">NRF_POWER</div><div class="ttdef"><b>Definition:</b> rf.h:31</div></div>
<div class="ttc" id="rf_8h_html_a5142dccd788732058054f9af71e1b97d"><div class="ttname"><a href="../../df/db2/rf_8h.html#a5142dccd788732058054f9af71e1b97d">rf_flush_all</a></div><div class="ttdeci">void rf_flush_all(void)</div><div class="ttdef"><b>Definition:</b> rf.c:302</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edaca5816974e1962f9390908fb43e1ac01f1"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edaca5816974e1962f9390908fb43e1ac01f1">NRF_RETR_DELAY_3250US</a></div><div class="ttdef"><b>Definition:</b> rf.h:63</div></div>
<div class="ttc" id="rf_8h_html_ade98ffb85653a04314f627c4b475b30d"><div class="ttname"><a href="../../df/db2/rf_8h.html#ade98ffb85653a04314f627c4b475b30d">NRF_CRC</a></div><div class="ttdeci">NRF_CRC</div><div class="ttdef"><b>Definition:</b> rf.h:44</div></div>
<div class="ttc" id="rf_8h_html_a79a199ee8cea449586c259cb9117edacab2346e537a737a930520c9693477157d"><div class="ttname"><a href="../../df/db2/rf_8h.html#a79a199ee8cea449586c259cb9117edacab2346e537a737a930520c9693477157d">NRF_RETR_DELAY_2250US</a></div><div class="ttdef"><b>Definition:</b> rf.h:59</div></div>
<div class="ttc" id="rf_8h_html_a1271f32a63f280682f57ecc0b9ce5754"><div class="ttname"><a href="../../df/db2/rf_8h.html#a1271f32a63f280682f57ecc0b9ce5754">rf_set_retr_retries</a></div><div class="ttdeci">void rf_set_retr_retries(int retries)</div><div class="ttdef"><b>Definition:</b> rf.c:129</div></div>
<div class="ttc" id="rf_8h_html_acb38d747ee64a0bad2e80f9276333031"><div class="ttname"><a href="../../df/db2/rf_8h.html#acb38d747ee64a0bad2e80f9276333031">rf_set_crc_type</a></div><div class="ttdeci">void rf_set_crc_type(NRF_CRC crc_type)</div><div class="ttdef"><b>Definition:</b> rf.c:102</div></div>
</div><!-- fragment --></div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://github.com/joshdellay" target="_new">Josh Dellay</a>